package com.zyb.product.dao;

import com.zyb.commons.dao.BaseDao;
import com.zyb.commons.page.PageResult;
import com.zyb.product.dto.BrandDTO;
import com.zyb.product.entity.BrandEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 品牌
 *
 * @author 赵毅博 593163583@qq.com
 * @since 1.0.0 2022-07-15
 */
@Mapper
public interface BrandDao extends BaseDao<BrandEntity> {

    void updateBrand(BrandEntity entity);

    int selectCounts(Map<String, Object> params);

    List<BrandDTO> queryAllLimit(Map<String, Object> params, PageResult<BrandDTO> pageResult);
}